package ru.papergames.common.beans;

import ru.papergames.common.form.AbstractPlayerForm;

/**
 * @author Alexander Troshanin
 */
public class BattleMember {

    private int teamId = -1;
    private AbstractPlayerForm player;

    public BattleMember() {
    }

    public BattleMember(int teamId, AbstractPlayerForm player) {
        this.teamId = teamId;
        this.player = player;
    }

    public long getId() {
        return player.getId();
    }

    public int getTeamId() {
        return teamId;
    }

    public void setTeamId(int teamId) {
        this.teamId = teamId;
    }

    public AbstractPlayerForm getPlayer() {
        return player;
    }

    public void setPlayer(AbstractPlayerForm player) {
        this.player = player;
    }
}
